<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>my_skynet: /home/why/workspace/my_skynet/include/sunnet.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">my_skynet
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('sunnet_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">sunnet.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sunnet_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __SUNNET_H__</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __SUNNET_H__</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;thread&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;queue&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="worker_8h.html">worker.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="service_8h.html">service.h</a>&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="service__msg_8h.html">service_msg.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="common_8h.html">common.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="socket__worker_8h.html">socket_worker.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="conn_8h.html">conn.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="log_8h.html">log.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classSunnet.html">   29</a></span>&#160;<span class="keyword">class </span><a class="code" href="classSunnet.html">Sunnet</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="classSunnet.html">Sunnet</a>();</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    ~<a class="code" href="classSunnet.html">Sunnet</a>();</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="classSunnet.html">Sunnet</a>(<span class="keyword">const</span> <a class="code" href="classSunnet.html">Sunnet</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keyword">const</span> <a class="code" href="classSunnet.html">Sunnet</a> operator=(<span class="keyword">const</span> <a class="code" href="classSunnet.html">Sunnet</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">static</span> <a class="code" href="classSunnet.html">Sunnet</a>&amp; <a class="code" href="classSunnet.html#ad262ca0afa68db52846f39484c80291a">GetInstance</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classSunnet.html#ad3da9d9474976109f3ca56ae764a263d">Start</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">void</span> Wait();</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    uint32_t NewService(std::shared_ptr&lt;std::string&gt; type);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classSunnet.html#a4323a7422ebab350b4af493a431491fc">KillService</a>(uint32_t <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classSunnet.html#ab7e6397c09a8eb2823583e03bd661528">Send</a>(uint32_t dest_id, std::shared_ptr&lt;BaseMsg&gt; msg);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    std::shared_ptr&lt;Service&gt; <a class="code" href="classSunnet.html#a58dfe55971a5ba93d777254c054440e7">PopGlobalQueue</a>();</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classSunnet.html#a90ad5612f54baa9c7910c7711cc41eec">PushGlobalQueue</a>(std::shared_ptr&lt;Service&gt; srv);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    std::shared_ptr&lt;ServiceMsg&gt; <a class="code" href="classSunnet.html#a075ba56d648e7beb726cfddf64581593">MakeMsg</a>(uint32_t source, <span class="keywordtype">char</span>* buff, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classSunnet.html#a995cb65d66f6fee3667fe248a0eb8f2e">CheckAndWeakUp</a>();</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    std::shared_ptr&lt;Service&gt; <a class="code" href="classSunnet.html#a27842038d2fc4338d44539d95a9a576a">GetService</a>(uint32_t <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">void</span> WorkerWait();</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordtype">int</span> AddConn(<span class="keywordtype">int</span> fd, uint32_t <span class="keywordtype">id</span>, Conn::Type type);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    std::shared_ptr&lt;Conn&gt; GetConn(<span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">bool</span> RemoveConn(<span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keywordtype">int</span> Listen(uint32_t port, uint32_t service_id);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">void</span> CloseConn(uint32_t fd);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordtype">void</span> ModifyEvent(<span class="keywordtype">int</span> fd, <span class="keywordtype">bool</span> epoll_out);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordtype">void</span> SendMsg2LogService(std::shared_ptr&lt;LogMsg&gt; msg);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordtype">void</span> StartWorker();</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordtype">void</span> StartSocket();</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordtype">void</span> StartLogService();</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="comment">// 工作线程相关</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordtype">int</span> worker_num_ = common::WORKER_NUM;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    std::vector&lt;std::shared_ptr&lt;Worker&gt;&gt; workers_vec_;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    std::vector&lt;std::shared_ptr&lt;std::thread&gt;&gt; worker_thread_vec_;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    pthread_mutex_t sleep_mutex_;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    pthread_cond_t sleep_cond_;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordtype">int</span> sleep_count_ = 0;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="comment">// 网络线程相关</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    std::shared_ptr&lt;SocketWorker&gt; socket_worker_;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    std::shared_ptr&lt;std::thread&gt; socket_thread_;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="comment">// 连接相关</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    std::unordered_map&lt;uint32_t, std::shared_ptr&lt;Conn&gt;&gt; conns_;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    pthread_rwlock_t conns_lock_;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">// 服务相关</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    std::unordered_map&lt;uint32_t, std::shared_ptr&lt;Service&gt;&gt; service_map_;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    uint32_t max_id_ = 0;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    pthread_rwlock_t services_lock_;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    std::queue&lt;std::shared_ptr&lt;Service&gt;&gt; global_queue_;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    pthread_spinlock_t global_queue_lock_;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="comment">// log相关</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    uint32_t log_service_id_;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;};</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#endif  // __SUNNET_H__</span></div>
<div class="ttc" id="classSunnet_html_a4323a7422ebab350b4af493a431491fc"><div class="ttname"><a href="classSunnet.html#a4323a7422ebab350b4af493a431491fc">Sunnet::KillService</a></div><div class="ttdeci">void KillService(uint32_t id)</div><div class="ttdoc">只能由service自己调用，里面会调用service中的方法，线程不安全 </div></div>
<div class="ttc" id="worker_8h_html"><div class="ttname"><a href="worker_8h.html">worker.h</a></div><div class="ttdoc">普通工作线程 </div></div>
<div class="ttc" id="classSunnet_html_a90ad5612f54baa9c7910c7711cc41eec"><div class="ttname"><a href="classSunnet.html#a90ad5612f54baa9c7910c7711cc41eec">Sunnet::PushGlobalQueue</a></div><div class="ttdeci">void PushGlobalQueue(std::shared_ptr&lt; Service &gt; srv)</div><div class="ttdoc">将一个需要处理msg的service放进global_queue </div></div>
<div class="ttc" id="classSunnet_html_ad3da9d9474976109f3ca56ae764a263d"><div class="ttname"><a href="classSunnet.html#ad3da9d9474976109f3ca56ae764a263d">Sunnet::Start</a></div><div class="ttdeci">void Start()</div><div class="ttdoc">入口函数 </div></div>
<div class="ttc" id="classSunnet_html_a58dfe55971a5ba93d777254c054440e7"><div class="ttname"><a href="classSunnet.html#a58dfe55971a5ba93d777254c054440e7">Sunnet::PopGlobalQueue</a></div><div class="ttdeci">std::shared_ptr&lt; Service &gt; PopGlobalQueue()</div><div class="ttdoc">从global_queue中弹出一个需要处理msg的service </div></div>
<div class="ttc" id="socket__worker_8h_html"><div class="ttname"><a href="socket__worker_8h.html">socket_worker.h</a></div><div class="ttdoc">网络工作线程 </div></div>
<div class="ttc" id="classSunnet_html_ad262ca0afa68db52846f39484c80291a"><div class="ttname"><a href="classSunnet.html#ad262ca0afa68db52846f39484c80291a">Sunnet::GetInstance</a></div><div class="ttdeci">static Sunnet &amp; GetInstance()</div><div class="ttdoc">Get the Instance object. </div></div>
<div class="ttc" id="classSunnet_html_ab7e6397c09a8eb2823583e03bd661528"><div class="ttname"><a href="classSunnet.html#ab7e6397c09a8eb2823583e03bd661528">Sunnet::Send</a></div><div class="ttdeci">void Send(uint32_t dest_id, std::shared_ptr&lt; BaseMsg &gt; msg)</div><div class="ttdoc">向目的service发送msg </div></div>
<div class="ttc" id="classSunnet_html"><div class="ttname"><a href="classSunnet.html">Sunnet</a></div><div class="ttdef"><b>Definition:</b> sunnet.h:29</div></div>
<div class="ttc" id="classSunnet_html_a995cb65d66f6fee3667fe248a0eb8f2e"><div class="ttname"><a href="classSunnet.html#a995cb65d66f6fee3667fe248a0eb8f2e">Sunnet::CheckAndWeakUp</a></div><div class="ttdeci">void CheckAndWeakUp()</div><div class="ttdoc">Send方法中调用 </div></div>
<div class="ttc" id="classSunnet_html_a27842038d2fc4338d44539d95a9a576a"><div class="ttname"><a href="classSunnet.html#a27842038d2fc4338d44539d95a9a576a">Sunnet::GetService</a></div><div class="ttdeci">std::shared_ptr&lt; Service &gt; GetService(uint32_t id)</div><div class="ttdoc">当global_queue中没有srv时，工作线程调用该方法 </div></div>
<div class="ttc" id="service__msg_8h_html"><div class="ttname"><a href="service__msg_8h.html">service_msg.h</a></div><div class="ttdoc">服务消息 </div></div>
<div class="ttc" id="service_8h_html"><div class="ttname"><a href="service_8h.html">service.h</a></div><div class="ttdoc">服务类 </div></div>
<div class="ttc" id="conn_8h_html"><div class="ttname"><a href="conn_8h.html">conn.h</a></div><div class="ttdoc">socket连接对象 </div></div>
<div class="ttc" id="common_8h_html"><div class="ttname"><a href="common_8h.html">common.h</a></div><div class="ttdoc">通用常量配置 </div></div>
<div class="ttc" id="log_8h_html"><div class="ttname"><a href="log_8h.html">log.h</a></div><div class="ttdoc">spdlog简单封装 </div></div>
<div class="ttc" id="classSunnet_html_a075ba56d648e7beb726cfddf64581593"><div class="ttname"><a href="classSunnet.html#a075ba56d648e7beb726cfddf64581593">Sunnet::MakeMsg</a></div><div class="ttdeci">std::shared_ptr&lt; ServiceMsg &gt; MakeMsg(uint32_t source, char *buff, int len)</div><div class="ttdoc">临时构造ServiceMsg </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="sunnet_8h.html">sunnet.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
